<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
            <div class="content-wrap">
                <div class="wrapper">
                    <ul class="nav nav-tabs">
                        <li class="active">
                            <a href="#"   onclick="loadDiv('mainCenterDiv','${ctx}/oper/labVsClinic/labVsClinicList')">检验项目列表</a>
                        </li>
                        <li>
                            <a href="#" onclick="loadLabClinic('rigthCenterDiv','${ctx}/oper/labVsClinic/labVsClinicForm')">检验项目添加</a>
                        </li>
                    </ul>
                    <section class="panel panel-default">
                        <div class="panel-body">
                            <div class="table-responsive no-border">
                                <div class="datatable-top">
                                    <div class="pull-left">
                                        <form:form id="searchForm" modelAttribute="labVsClinic"  onsubmit="return loadDivForm('mainCenterDiv','searchFormDict','${ctx}/oper/labVsClinic/index');" method="post" class="form-inline">
                                            <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
                                            <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
                                        </form:form>
                                    </div>
                                </div>
                                <table id="contentTable" class="table table-bordered mg-t datatable">
                                    <thead>
                                        <tr>
                                            <th>检验类别</th>
                                            <th>诊疗项目</th>
                                            <th>标本</th>
                                            <th>执行科室</th>
                                            <th>备注信息</th>
                                            <th>操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    <c:forEach items="${list}" var="labVsClinic">
                                        <tr>
                                                <td> ${labVsClinic.labType.name}</td>
                                                <td> ${labVsClinic.clinicItemDict.itemName}</td>
                                                <td> ${fns:getDictLabels(labVsClinic.specimen,'SPECIMAN_DICT','')}</td>
                                                <td> ${labVsClinic.orgDept.deptName}</td>
                                                <td> ${labVsClinic.remarks}</td>
                                            <td>
                                                <a href="#" onclick="loadDiv('rigthCenterDiv','${ctx}/oper/labVsClinic/labVsClinicForm?id=${labVsClinic.id}')" class="btn btn-success btn-xs">修改</a>
                                                <a href="#"  class="applyBt btn btn-danger btn-xs" onclick="confirmExtend('确认要删除该吗？',function(){delLoad('mainCenterDiv','${ctx}/oper/labVsClinic/deleteLabItem?id=${labVsClinic.id}','${ctx}/oper/labVsClinic/labVsClinicList')})">删除</a>
                                            </td>
                                        </tr>
                                    </c:forEach>

                                </table>
                                <%--<div class="pagination">${page}</div>--%>
                            </div>
                        </div>
                    </section>
                </div>
            </div>

